package com.bafa.front;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.bafa.exceptions.ErrorException;
import com.bafa.services.RetrieveServices;

public class DisplayDivisionTopScorersServlet extends DaddyServlet {

	
	@Override
	public void doEvent(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, ErrorException {
		request.setAttribute("SCORERS",RetrieveServices.getDivisionTopScorers(new Integer(request.getParameter("divisionId")).intValue(),request.getParameter("seasonId")));
		url = "divisiontopscorers.jsp";
	}
}
